home *** CD-ROM | disk | FTP | other *** search
/ Inter.Net 55-1 / Inter.Net 55-1.iso / CBuilder / Setup / BCB / data.z / graphsv3.hpp < prev    next >
Encoding:
C/C++ Source or Header  |  1998-02-09  |  16.2 KB  |  409 lines

  1. // Borland C++ Builder
  2. // Copyright (c) 1995, 1998 by Borland International
  3. // All rights reserved
  4.  
  5. // (DO NOT EDIT: machine generated header) 'graphsv3.pas' rev: 3.00
  6.  
  7. #ifndef graphsv3HPP
  8. #define graphsv3HPP
  9. #include <Menus.hpp>
  10. #include <Controls.hpp>
  11. #include <StdVCL.hpp>
  12. #include <OleCtrls.hpp>
  13. #include <Graphics.hpp>
  14. #include <Classes.hpp>
  15. #include <ActiveX.hpp>
  16. #include <Windows.hpp>
  17. #include <SysInit.hpp>
  18. #include <System.hpp>
  19.  
  20. //-- user supplied -----------------------------------------------------------
  21.  
  22. namespace Graphsv3
  23. {
  24. //-- type declarations -------------------------------------------------------
  25. __dispinterface _DGraph;
  26. typedef System::DelphiInterface<_DGraph> _di__DGraph;
  27. __dispinterface _DGraph: public IDispatch /* __guid="{0842D101-1E19-101B-9AAF-1A1626551E7C}" */
  28. {
  29.     
  30. };
  31. typedef _DGraph Graph;
  32.  
  33. typedef Olectrls::TOleEnum AutoIncConstants;
  34.  
  35. typedef Olectrls::TOleEnum BackgroundConstants;
  36.  
  37. typedef Olectrls::TOleEnum ColorDataConstants;
  38.  
  39. typedef Olectrls::TOleEnum DataResetConstants;
  40.  
  41. typedef Olectrls::TOleEnum DrawModeConstants;
  42.  
  43. typedef Olectrls::TOleEnum DrawStyleConstants;
  44.  
  45. typedef Olectrls::TOleEnum FontFamilyConstants;
  46.  
  47. typedef Olectrls::TOleEnum FontStyleConstants;
  48.  
  49. typedef Olectrls::TOleEnum FontUseConstants;
  50.  
  51. typedef Olectrls::TOleEnum ForegroundConstants;
  52.  
  53. typedef Olectrls::TOleEnum GraphTypeConstants;
  54.  
  55. typedef Olectrls::TOleEnum GridStyleConstants;
  56.  
  57. typedef Olectrls::TOleEnum IndexStyleConstants;
  58.  
  59. typedef Olectrls::TOleEnum LabelsConstants;
  60.  
  61. typedef Olectrls::TOleEnum LegendStyleConstants;
  62.  
  63. typedef Olectrls::TOleEnum LineStatsConstants;
  64.  
  65. typedef Olectrls::TOleEnum PaletteConstants;
  66.  
  67. typedef Olectrls::TOleEnum PatternedLinesConstants;
  68.  
  69. typedef Olectrls::TOleEnum PrintStyleConstants;
  70.  
  71. typedef Olectrls::TOleEnum RandomDataConstants;
  72.  
  73. typedef Olectrls::TOleEnum SymbolDataConstants;
  74.  
  75. typedef Olectrls::TOleEnum ThickLinesConstants;
  76.  
  77. typedef Olectrls::TOleEnum TicksConstants;
  78.  
  79. typedef Olectrls::TOleEnum YAxisPosConstants;
  80.  
  81. typedef Olectrls::TOleEnum YAxisStyleConstants;
  82.  
  83. typedef Olectrls::TOleEnum BorderStyleConstants;
  84.  
  85. __dispinterface _DGraphEvents;
  86. typedef System::DelphiInterface<_DGraphEvents> _di__DGraphEvents;
  87. __dispinterface _DGraphEvents: public IDispatch /* __guid="{0842D102-1E19-101B-9AAF-1A1626551E7C}" */
  88.     
  89. {
  90.     
  91. };
  92.  
  93. class DELPHICLASS TGraph;
  94. class PASCALIMPLEMENTATION TGraph : public Olectrls::TOleControl 
  95. {
  96.     typedef Olectrls::TOleControl inherited;
  97.     
  98. private:
  99.     _di__DGraph FIntf;
  100.     int __fastcall Get_hWnd(void);
  101.     void __fastcall Set_hWnd(int &Value);
  102.     short __fastcall Get_Color(short index);
  103.     void __fastcall Set_Color(short index, short Value);
  104.     float __fastcall Get_Data(short index);
  105.     void __fastcall Set_Data(short index, float Value);
  106.     short __fastcall Get_Extra(short index);
  107.     void __fastcall Set_Extra(short index, short Value);
  108.     short __fastcall Get_FFamily(short index);
  109.     void __fastcall Set_FFamily(short index, short Value);
  110.     short __fastcall Get_FSize(short index);
  111.     void __fastcall Set_FSize(short index, short Value);
  112.     short __fastcall Get_FStyle(short index);
  113.     void __fastcall Set_FStyle(short index, short Value);
  114.     System::WideString __fastcall Get_Label_(short index);
  115.     void __fastcall Set_Label_(short index, const System::WideString Value);
  116.     System::WideString __fastcall Get_Legend(short index);
  117.     void __fastcall Set_Legend(short index, const System::WideString Value);
  118.     short __fastcall Get_Pattern(short index);
  119.     void __fastcall Set_Pattern(short index, short Value);
  120.     short __fastcall Get_Symbol(short index);
  121.     void __fastcall Set_Symbol(short index, short Value);
  122.     float __fastcall Get_XPos(short index);
  123.     void __fastcall Set_XPos(short index, float Value);
  124.     
  125. protected:
  126.     virtual void __fastcall InitControlData(void);
  127.     virtual void __fastcall InitControlInterface(const _di_IUnknown Obj);
  128.     
  129. public:
  130.     HIDESBASE void __fastcall Refresh(void);
  131.     void __fastcall AboutBox(void);
  132.     __property _di__DGraph ControlInterface = {read=FIntf};
  133.     __property Graphics::TPicture* Picture = {read=GetTPictureProp, write=SetTPictureProp, index=35};
  134.     __property System::WideString QuickData = {read=GetWideStringProp, write=SetWideStringProp, index=37
  135.         };
  136.     __property short SeeThru = {read=GetSmallintProp, write=SetSmallintProp, index=39, nodefault};
  137.     __property System::WideString _QuickData = {read=GetWideStringProp, write=SetWideStringProp, index=0
  138.         };
  139.     __property short Color[short index] = {read=Get_Color, write=Set_Color};
  140.     __property float Data[short index] = {read=Get_Data, write=Set_Data};
  141.     __property short Extra[short index] = {read=Get_Extra, write=Set_Extra};
  142.     __property short FFamily[short index] = {read=Get_FFamily, write=Set_FFamily};
  143.     __property short FSize[short index] = {read=Get_FSize, write=Set_FSize};
  144.     __property short FStyle[short index] = {read=Get_FStyle, write=Set_FStyle};
  145.     __property System::WideString Label_[short index] = {read=Get_Label_, write=Set_Label_};
  146.     __property System::WideString Legend[short index] = {read=Get_Legend, write=Set_Legend};
  147.     __property short Pattern[short index] = {read=Get_Pattern, write=Set_Pattern};
  148.     __property short Symbol[short index] = {read=Get_Symbol, write=Set_Symbol};
  149.     __property float XPos[short index] = {read=Get_XPos, write=Set_XPos};
  150.     
  151. __published:
  152.     __property TabStop ;
  153.     __property Align ;
  154.     __property DragCursor ;
  155.     __property DragMode ;
  156.     __property ParentShowHint ;
  157.     __property PopupMenu ;
  158.     __property ShowHint ;
  159.     __property TabOrder ;
  160.     __property Visible ;
  161.     __property OnDragDrop ;
  162.     __property OnDragOver ;
  163.     __property OnEndDrag ;
  164.     __property OnEnter ;
  165.     __property OnExit ;
  166.     __property OnStartDrag ;
  167.     __property OnMouseUp ;
  168.     __property OnMouseMove ;
  169.     __property OnMouseDown ;
  170.     __property OnKeyUp ;
  171.     __property OnKeyPress ;
  172.     __property OnKeyDown ;
  173.     __property OnDblClick ;
  174.     __property OnClick ;
  175.     __property Olectrls::TOleEnum AutoInc = {read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, 
  176.         index=1, nodefault};
  177.     __property Olectrls::TOleEnum Background = {read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false
  178.         , index=2, nodefault};
  179.     __property System::WideString BottomTitle = {read=GetWideStringProp, write=SetWideStringProp, stored=false
  180.         , index=3};
  181.     __property Olectrls::TOleEnum ColorData = {read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false
  182.         , index=4, nodefault};
  183.     __property System::WideString CtlVersion = {read=GetWideStringProp, write=SetWideStringProp, stored=false
  184.         , index=5};
  185.     __property Olectrls::TOleEnum DataReset = {read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false
  186.         , index=6, nodefault};
  187.     __property Olectrls::TOleEnum DrawMode = {read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false
  188.         , index=7, nodefault};
  189.     __property Olectrls::TOleEnum DrawStyle = {read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false
  190.         , index=8, nodefault};
  191.     __property short ExtraData = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=9, nodefault
  192.         };
  193.     __property Olectrls::TOleEnum FontFamily = {read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false
  194.         , index=10, nodefault};
  195.     __property short FontSize = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=11, nodefault
  196.         };
  197.     __property Olectrls::TOleEnum FontStyle = {read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false
  198.         , index=12, nodefault};
  199.     __property Olectrls::TOleEnum FontUse = {read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, 
  200.         index=13, nodefault};
  201.     __property Olectrls::TOleEnum Foreground = {read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false
  202.         , index=14, nodefault};
  203.     __property System::WideString GraphCaption = {read=GetWideStringProp, write=SetWideStringProp, stored=false
  204.         , index=15};
  205.     __property float GraphData = {read=GetSingleProp, write=SetSingleProp, stored=false, index=16};
  206.     __property short GraphStyle = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=17, 
  207.         nodefault};
  208.     __property System::WideString GraphTitle = {read=GetWideStringProp, write=SetWideStringProp, stored=false
  209.         , index=18};
  210.     __property Olectrls::TOleEnum GraphType = {read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false
  211.         , index=19, nodefault};
  212.     __property Olectrls::TOleEnum GridStyle = {read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false
  213.         , index=20, nodefault};
  214.     __property System::WideString ImageFile = {read=GetWideStringProp, write=SetWideStringProp, stored=false
  215.         , index=21};
  216.     __property Olectrls::TOleEnum IndexStyle = {read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false
  217.         , index=22, nodefault};
  218.     __property short LabelEvery = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=23, 
  219.         nodefault};
  220.     __property Olectrls::TOleEnum Labels = {read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, 
  221.         index=24, nodefault};
  222.     __property System::WideString LabelText = {read=GetWideStringProp, write=SetWideStringProp, stored=false
  223.         , index=25};
  224.     __property System::WideString LeftTitle = {read=GetWideStringProp, write=SetWideStringProp, stored=false
  225.         , index=26};
  226.     __property Olectrls::TOleEnum LegendStyle = {read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false
  227.         , index=27, nodefault};
  228.     __property System::WideString LegendText = {read=GetWideStringProp, write=SetWideStringProp, stored=false
  229.         , index=28};
  230.     __property Olectrls::TOleEnum LineStats = {read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false
  231.         , index=29, nodefault};
  232.     __property short NumPoints = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=30, 
  233.         nodefault};
  234.     __property short NumSets = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=31, nodefault
  235.         };
  236.     __property Olectrls::TOleEnum Palette = {read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, 
  237.         index=32, nodefault};
  238.     __property short PatternData = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=33
  239.         , nodefault};
  240.     __property Olectrls::TOleEnum PatternedLines = {read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false
  241.         , index=34, nodefault};
  242.     __property Olectrls::TOleEnum PrintStyle = {read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false
  243.         , index=36, nodefault};
  244.     __property Olectrls::TOleEnum RandomData = {read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false
  245.         , index=38, nodefault};
  246.     __property Olectrls::TOleEnum SymbolData = {read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false
  247.         , index=40, nodefault};
  248.     __property Olectrls::TOleEnum ThickLines = {read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false
  249.         , index=41, nodefault};
  250.     __property short ThisPoint = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=42, 
  251.         nodefault};
  252.     __property short ThisSet = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=43, nodefault
  253.         };
  254.     __property short TickEvery = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=44, 
  255.         nodefault};
  256.     __property Olectrls::TOleEnum Ticks = {read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=45
  257.         , nodefault};
  258.     __property float XPosData = {read=GetSingleProp, write=SetSingleProp, stored=false, index=46};
  259.     __property float YAxisMax = {read=GetSingleProp, write=SetSingleProp, stored=false, index=47};
  260.     __property float YAxisMin = {read=GetSingleProp, write=SetSingleProp, stored=false, index=48};
  261.     __property Olectrls::TOleEnum YAxisPos = {read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false
  262.         , index=49, nodefault};
  263.     __property Olectrls::TOleEnum YAxisStyle = {read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false
  264.         , index=50, nodefault};
  265.     __property short YAxisTicks = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=51, 
  266.         nodefault};
  267.     __property Word Enabled = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=-514, nodefault
  268.         };
  269.     __property Olectrls::TOleEnum BorderStyle = {read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false
  270.         , index=-504, nodefault};
  271.     __property int hWnd = {read=Get_hWnd, write=Set_hWnd, stored=false, nodefault};
  272. public:
  273.     /* TOleControl.Create */ __fastcall virtual TGraph(Classes::TComponent* AOwner) : Olectrls::TOleControl(
  274.         AOwner) { }
  275.     /* TOleControl.Destroy */ __fastcall virtual ~TGraph(void) { }
  276.     
  277. public:
  278.     /* TWinControl.CreateParented */ __fastcall TGraph(HWND ParentWindow) : Olectrls::TOleControl(ParentWindow
  279.         ) { }
  280.     
  281. };
  282.  
  283. //-- var, const, procedure ---------------------------------------------------
  284. extern PACKAGE GUID LIBID_GraphLib;
  285. #define gphOff (Byte)(0)
  286. #define gphOn (Byte)(1)
  287. #define gphBlack (Byte)(0)
  288. #define gphBlue (Byte)(1)
  289. #define gphGreen (Byte)(2)
  290. #define gphCyan (Byte)(3)
  291. #define gphRed (Byte)(4)
  292. #define gphMagenta (Byte)(5)
  293. #define gphBrown (Byte)(6)
  294. #define gphLightGray (Byte)(7)
  295. #define gphDarkGray (Byte)(8)
  296. #define gphLightBlue (Byte)(9)
  297. #define gphLightGreen (Byte)(10)
  298. #define gphLightCyan (Byte)(11)
  299. #define gphLightRed (Byte)(12)
  300. #define gphLightMagenta (Byte)(13)
  301. #define gphYellow (Byte)(14)
  302. #define gphWhite (Byte)(15)
  303. #define gphNone (Byte)(0)
  304. #define gphGraphData (Byte)(1)
  305. #define gphColorData (Byte)(2)
  306. #define gphExtraData (Byte)(3)
  307. #define gphLabelText (Byte)(4)
  308. #define gphLegendText (Byte)(5)
  309. #define gphPatternData (Byte)(6)
  310. #define gphSymbolData (Byte)(7)
  311. #define gphXPosData (Byte)(8)
  312. #define gphAllData (Byte)(9)
  313. #define gphFontInfo (Byte)(10)
  314. #define gphNoAction (Byte)(0)
  315. #define gphClear (Byte)(1)
  316. #define gphDraw (Byte)(2)
  317. #define gphBlit (Byte)(3)
  318. #define gphCopy (Byte)(4)
  319. #define gphPrint (Byte)(5)
  320. #define gphWrite (Byte)(6)
  321. #define gphMonochrome (Byte)(0)
  322. #define gphColor (Byte)(1)
  323. #define gphRoman (Byte)(0)
  324. #define gphSwiss (Byte)(1)
  325. #define gphModern (Byte)(2)
  326. #define gphDefault (Byte)(0)
  327. #define gphItalic (Byte)(1)
  328. #define gphBold (Byte)(2)
  329. #define gphBoldItalic (Byte)(3)
  330. #define gphUnderlined (Byte)(4)
  331. #define gphUnderlinedItalic (Byte)(5)
  332. #define gphUnderlinedBold (Byte)(6)
  333. #define gphUnderlinedBoldItalic (Byte)(7)
  334. #define gphGraphTitle (Byte)(0)
  335. #define gphOtherTitles (Byte)(1)
  336. #define gphLabels (Byte)(2)
  337. #define gphLegend (Byte)(3)
  338. #define gphAllText (Byte)(4)
  339. #define gphAutoBlackWhite (Byte)(16)
  340. #define gphPie2D (Byte)(1)
  341. #define gphPie3D (Byte)(2)
  342. #define gphBar2D (Byte)(3)
  343. #define gphBar3D (Byte)(4)
  344. #define gphGantt (Byte)(5)
  345. #define gphLine (Byte)(6)
  346. #define gphLogLin (Byte)(7)
  347. #define gphArea (Byte)(8)
  348. #define gphScatter (Byte)(9)
  349. #define gphPolar (Byte)(10)
  350. #define gphHLC (Byte)(11)
  351. #define gphHorizontal (Byte)(1)
  352. #define gphVertical (Byte)(2)
  353. #define gphBoth (Byte)(3)
  354. #define gphStandard (Byte)(0)
  355. #define gphEnhanced (Byte)(1)
  356. #define gphXAxisLabelsOnly (Byte)(2)
  357. #define gphYAxisLabelsOnly (Byte)(3)
  358. #define gphMean (Byte)(1)
  359. #define gphMinmax (Byte)(2)
  360. #define gphMeanMinmax (Byte)(3)
  361. #define gphStddev (Byte)(4)
  362. #define gphStddevMean (Byte)(5)
  363. #define gphStddevMinmax (Byte)(6)
  364. #define gphStddevMinmaxMean (Byte)(7)
  365. #define gphBestfit (Byte)(8)
  366. #define gphBestfitMean (Byte)(9)
  367. #define gphBestfitMinmax (Byte)(10)
  368. #define gphBestfitMinmaxMean (Byte)(11)
  369. #define gphBestfitStddev (Byte)(12)
  370. #define gphBestfitStddevMean (Byte)(13)
  371. #define gphBestfitStddevMinmax (Byte)(14)
  372. #define gphAll (Byte)(15)
  373. #define gphPastel (Byte)(1)
  374. #define gphGrayscale (Byte)(2)
  375. #define gphPatternOff (Byte)(0)
  376. #define gphPatternOn (Byte)(1)
  377. #define gphMonochromeWithBorder (Byte)(2)
  378. #define gphColorWithBorder (Byte)(3)
  379. #define gphCrossPlus (Byte)(0)
  380. #define gphCrossTimes (Byte)(1)
  381. #define gphTriangleUp (Byte)(2)
  382. #define gphSolidTriangleUp (Byte)(3)
  383. #define gphTriangleDown (Byte)(4)
  384. #define gphSolidTriangleDown (Byte)(5)
  385. #define gphSquare (Byte)(6)
  386. #define gphSolidSquare (Byte)(7)
  387. #define gphDiamond (Byte)(8)
  388. #define gphSolidDiamond (Byte)(9)
  389. #define gphLinesOff (Byte)(0)
  390. #define gphLinesOn (Byte)(1)
  391. #define gphTicksOff (Byte)(0)
  392. #define gphTicksOn (Byte)(1)
  393. #define gphXAxisTicksOnly (Byte)(2)
  394. #define gphYAxisTicksOnly (Byte)(3)
  395. #define gphAlignLeft (Byte)(1)
  396. #define gphAlignRight (Byte)(2)
  397. #define gphVariableOrigin (Byte)(1)
  398. #define gphUserDefined (Byte)(2)
  399. #define gphFixedSingle (Byte)(1)
  400. extern PACKAGE GUID Class_Graph;
  401. extern PACKAGE void __fastcall Register(void);
  402.  
  403. }    /* namespace Graphsv3 */
  404. #if !defined(NO_IMPLICIT_NAMESPACE_USE)
  405. using namespace Graphsv3;
  406. #endif
  407. //-- end unit ----------------------------------------------------------------
  408. #endif    // graphsv3
  409.